# Datamining Makefile
###################################################

CC = @CC@
CXX= @CXX@

OPTIMIZE=@optimization_flags@
CFLAGS += $(OPTIMIZE) -Wall -g -I. -I.. -I../neuralnetwork -I../math @EXTRA_INCLUDEPATHS@
CXXFLAGS += $(CFLAGS) -I@atlas_headerpath@


OBJECTS = AssociationRuleFinder.o test/tst.o

EXTRA_OBJECTS = ../math/ownexception.o ../math/integer.o ../dynamic_bitset.o ../timed_boolean.o


SOURCES = AssociationRuleFinder.cpp test/tst.cpp \
	../dynamic_bitset.cpp ../timed_boolean.cpp ../math/ownexception.cpp ../math/integer.cpp


TARGET  = tst

LIBS= @EXTRA_LIBPATHS@ -lz -lgmp @EXTRA_LIBS@

##################################################

all: $(OBJECTS) $(EXTRA_OBJECTS)
	$(CXX) -o $(TARGET) $(CXXFLAGS) $(OBJECTS) $(EXTRA_OBJECTS) $(LIBS)

clean:
	$(RM) $(OBJECTS) $(TARGET)
	$(RM) *~ test/*~

clean_rpo:
	$(RM) *.rpo
	$(RM) test/*.rpo

depend:
	$(CXX) $(CXXFLAGS) -MM $(SOURCES) > Makefile.depend

##################################################

include Makefile.depend
